// const path = require('path')

module.exports = {
  // publicPath: '',
  lintOnSave: false,
  productionSourceMap: false,
  devServer: {
    port: 1025,
    proxy: {
      '/admin-api': {
        // target: 'https://prod.fousu.net',
        target: 'https://fssd.lanchetech.com',
        // target: 'http://localhost:8082/',
        // changeOrigin: true,
        // pathRewrite: {
        //     '^/admin-api': '/api',
        // },
      },
    },
    // disableHostCheck: true,
  },
  css: {
    loaderOptions: {
      less: {
        modifyVars: {
          // 'primary-color': '#3899DAFF',
        },
        javascriptEnabled: true,
      },
    },
  },
}

